let f = 1
for (let i = 0; i < 10; i++) {
    make(i)
    console.log(f)
}

function make(num) {
    f = num + 2
}
